<?php

namespace App\Admin\Grid\Displayers;

class RowSelector extends AbstractDisplayer
{
    public static $width = 50;

    public static $label = '<input type="checkbox" lay-filter="select-all" select-all="1" lay-skin="primary">';

    public function display()
    {
        return "<input type='checkbox' lay-filter='select-item' select-item='1' lay-skin='primary' data-id='{$this->getKey()}'>";
    }
}
